MyDate = {
	getMaxDateInMonth:function(year, month){
		if(month == 2){
			if(year % 400 == 0 || (year % 4 == 0 && year % 100 != 0)){
				return 29;
			}else{
				return 28;
			}
		}else if(month == 4 || month == 6 || month == 9 || month == 11){
			return 30;
		}else{
			return 31;
		}
	}
};